﻿<?xml version="1.0" encoding="utf-8" ?>

<program_def>
	<code_block>
		<class_def name="A">
			<code_block>
				<function_def name="f">
					<code_block>
						<assignment>
							<left>
								<instance_variable name ="instvar" />
							</left>
							<right>
								<constant value ="'class test'" />
							</right>
						</assignment>
						<return>
							<instance_variable name ="instvar" />
						</return>
					</code_block>
				</function_def>
			</code_block>
		</class_def>

		<assignment>
			<left>
				<variable name ="a1" />
			</left>
			<right>
				<function_call method="create">
					<calling_object>
						<class_reference name="A" />
					</calling_object>
				</function_call>
			</right>
		</assignment>
		<function_call method="print">
			<arguments>
				<function_call method="f">
					<calling_object>
						<variable name="a1" />
					</calling_object>
				</function_call>
			</arguments>
		</function_call>
	</code_block>
</program_def>
